﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.ThrongIn.DAL;
using Com.ThrongIn.BE;
using Com.ThrongIn.Utilities;
namespace Com.ThrongIn.BLL
{
    public class UserBLL
    {
        #region Properties
        private UserDAL ObjUser
        {
            get
            {
                return new UserDAL();
            }
        }
        #endregion

        public User GetUser(string email, string password)
        {
            return ObjUser.GetUser(email,CommonFunctions.Encrypt(password)); 
        }
         /// Add User
       /// </summary>
       /// <param name="fileComment"></param>
        public Int64 AddUser(User user)
        {
            return ObjUser.AddUser(user);
        }
    }
}
